NoMethodError: undefined method `has_attached_file'

Posted by mirza on Stack Overflow See other posts from Stack Overflow or by mirza
Published on 2010-04-30T10:43:28Z Indexed on 2010/04/30 10:47 UTC
Read the original article Hit count: 312

Paperclip produces this error, after checking out the plugin's rails3 branch. My Gemfile has following line:

gem 'paperclip', :git => 'http://github.com/thoughtbot/paperclip.git', :branch => 'rails3'

And the error message is:

NoMethodError: undefined method `has_attached_file' for #<Class:0x2a50530>

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about paperclip